﻿<Window x:Class="nSin.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:nSin.TaskSwitcher"
        Title="nSin" Height="377" Width="647" PreviewKeyDown="Window_PreviewKeyDown" Loaded="Window_Loaded" PreviewKeyUp="Window_PreviewKeyUp">
    
    <DockPanel HorizontalAlignment="Stretch" Name="dockPanel1" LastChildFill="True">
        <Menu Height="22" Name="menu1" Width="Auto" DockPanel.Dock="Top">
            <MenuItem Header="File" />
            <MenuItem Header="Visualizza">
                <MenuItem Header="Visualizza elenco iscritti" Click="MenuItem_Click" />
                <MenuItem Header="Compara elenco iscritti" Click="MenuItem_Click" />
            </MenuItem>
            <MenuItem Header="Strumenti">
                <MenuItem Header="Elenco telefonico" Click="MenuItem_Click"  />
                <MenuItem Header="Invio mail" Click="MenuItem_Click"  />
                <MenuItem Header="Importa iscritti CreVal" Click="MenuItem_Click"  />
                <MenuItem Header="Importa iscritti POPSO" Click="MenuItem_Click" />
            </MenuItem>
        </Menu>
        <StatusBar Height="Auto" Name="statusBar1" DockPanel.Dock="Bottom" Width="Auto" HorizontalContentAlignment="Stretch">
            <TextBlock>nSin</TextBlock>
        </StatusBar>
        <Grid Width="Auto" Height="Auto" >
            <TabControl x:Name="tcOpenForms" SelectedIndex="0" TabStripPlacement="Bottom" />

            <local:TaskSwitcherControl x:Name="ucTaskSwitcherControl" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">

                <local:TaskSwitcherControl.BitmapEffect>
                    <OuterGlowBitmapEffect GlowSize="8" GlowColor="#FF5A5A5A" />
                </local:TaskSwitcherControl.BitmapEffect>
            </local:TaskSwitcherControl>

        </Grid>
    </DockPanel>
</Window>
